#!/bin/env python

import filecmp

def expect_file_equal(file1, file2):
    return filecmp.cmp(file1, file2)

def expect_file_exsits(filelist):
    for file in filelist:
        if not os.path.exists(file):
            return False
    return True
